<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .mine {
            height: 100px;
            background-color: red;
        }

        @media (max-width: 980px) {
            .mine{
                background-color: pink;
            }
        }

        @media (max-width: 780px) {
            .mine {
                background-color: green;
            }
        }
    </style>
</head>
<body>
<div class="mine"></div>
</body>
</html>